class <%=migration_name%> < ActiveRecord::Migration
  def self.up
    create_table :<%=table_name%>, :force => true do |t|
      t.string    :email, :null=> false
      t.string    :username, :null => false
      t.string    :crypted_password, :limit => 40, :null => false
      t.string    :salt,             :limit =>40, :null => false
      t.string    :remember_token
      t.datetime  :remember_token_expires_at
      t.timestamps
    end
    add_index :<%=table_name%>, :username, :unique => true
    add_index :<%=table_name%>, :email, :unique => true
  end

  def self.down
    drop_table :table_name
  end


end